home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
7684
/
7684.xpi
/
chrome
/
firefm.jar
/
skin
/
unix
/
fmToolbar.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2009-08-06
|
7KB
|
246 lines
/**
* Copyright (c) 2008, Jose Enrique Bolanos, Jorge Villalobos
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* * Neither the name of Jose Enrique Bolanos, Jorge Villalobos nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**/
toolbarbutton.fm-button,
window:not([active="true"]) toolbarbutton.fm-button,
toolbar[iconsize="small"] toolbarbutton.fm-button {
list-style-image: url("chrome://firefm-os/skin/toolbar.png");
padding-top: 1px;
padding-bottom: 1px;
}
toolbarbutton[type="menu-button"].fm-button > toolbarbutton {
padding-top: 0em;
padding-bottom: 0em;
}
/* Do some juggling with alignment so that our icons look right. */
#navigator-toolbox[mode="full"] > #nav-bar > toolbarbutton.fm-button:not([type="menu-button"]),
#navigator-toolbox[mode="full"] > #nav-bar > toolbarbutton.fm-button[type="menu-button"] > toolbarbutton,
#navigator-toolbox[mode="full"] > #nav-bar > toolbarpaletteitem > toolbarbutton.fm-button:not([type="menu-button"]),
#navigator-toolbox[mode="full"] > #nav-bar > toolbarpaletteitem > toolbarbutton.fm-button[type="menu-button"] > toolbarbutton {
padding-top: 12px !important;
}
#firefm-statusbar-toolbar {
-moz-appearance: none;
-moz-box-align: center;
background-color: transparent;
border: none;
height: 16px;
min-height: 16px !important;
}
#firefm-statusbar-toolbar > toolbarbutton.fm-button,
#firefm-statusbar-toolbar > toolbarbutton.fm-button:hover,
#firefm-statusbar-toolbar > toolbarbutton.fm-button:hover:active,
#firefm-statusbar-toolbar > toolbarbutton.fm-button[type="menu-button"] > toolbarbutton,
#firefm-statusbar-toolbar > toolbarbutton.fm-button[type="menu-button"] > toolbarbutton:hover,
#firefm-statusbar-toolbar > toolbarbutton.fm-button[type="menu-button"] > toolbarbutton:hover:active {
-moz-appearance: none;
border: none;
background: none;
}
#firefm-statusbar-toolbar > toolbarbutton.fm-button,
#firefm-statusbar-toolbar > toolbarbutton.fm-button image {
padding-top: 0em;
padding-bottom: 0em;
}
#firefm-statusbar-toolbar > toolbarbutton.fm-button[type="menu-button"] {
-moz-box-align: start;
}
#firefm-track-info {
margin: -1px;
min-width: 25em;
}
#firefm-status-track-info {
font-size: 0.8em;
}
/* The wrapper is automatically created in the customize toolbar window. */
#wrapper-firefm-track-info {
width: 20em;
}
/* Home button. */
#firefm-home-button,
#firefm-status-home-button {
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
/* Log in / log out button. */
#firefm-login-logout-button,
#firefm-status-login-logout-button {
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
#firefm-login-logout-button[disabled="true"],
#firefm-status-login-logout-button[disabled="true"] {
-moz-image-region: rect(16px, 32px, 32px, 16px);
}
#firefm-login-logout-button[loggedin="true"],
#firefm-status-login-logout-button[loggedin="true"] {
-moz-image-region: rect(0px, 48px, 16px, 32px);
}
/* Station button. */
#firefm-station-button,
#firefm-status-station-button {
-moz-image-region: rect(0px, 64px, 16px, 48px);
}
#firefm-station-button[disabled="true"],
#firefm-status-station-button[disabled="true"] {
-moz-image-region: rect(16px, 64px, 32px, 48px);
}
#firefm-station-button[firstRun="true"],
#firefm-status-station-button[firstRun="true"] {
list-style-image: url("chrome://firefm/skin/stationAnim.png");
-moz-image-region: auto;
}
/* Play / stop button. */
#firefm-play-stop-button,
#firefm-status-play-stop-button {
list-style-image: url("moz-icon://stock/gtk-media-play?size=menu");
}
#firefm-play-stop-button[disabled="true"],
#firefm-status-play-stop-button[disabled="true"] {
list-style-image: url("moz-icon://stock/gtk-media-play?size=menu&state=disabled");
}
#firefm-play-stop-button[playing="true"],
#firefm-status-play-stop-button[playing="true"] {
list-style-image: url("moz-icon://stock/gtk-media-stop?size=menu");
}
/* Skip button. */
#firefm-skip-button,
#firefm-status-skip-button {
list-style-image: url("moz-icon://stock/gtk-media-next?size=menu");
}
#firefm-skip-button[disabled="true"],
#firefm-status-skip-button[disabled="true"] {
list-style-image: url("moz-icon://stock/gtk-media-next?size=menu&state=disabled");
}
/* Volume button. */
#firefm-volume-button,
#firefm-status-volume-button {
-moz-image-region: rect(0px, 112px, 16px, 96px);
}
#firefm-volume-button[volume="low"],
#firefm-status-volume-button[volume="low"] {
-moz-image-region: rect(0px, 96px, 16px, 80px);
}
#firefm-volume-button[volume="zero"],
#firefm-status-volume-button[volume="zero"] {
-moz-image-region: rect(0px, 80px, 16px, 64px);
}
#firefm-volume-button[disabled="true"],
#firefm-status-volume-button[disabled="true"] {
-moz-image-region: rect(16px, 80px, 32px, 64px);
}
/* Love button. */
#firefm-love-button,
#firefm-status-love-button {
-moz-image-region: rect(0px, 128px, 16px, 112px);
}
#firefm-love-button[disabled="true"],
#firefm-status-love-button[disabled="true"] {
-moz-image-region: rect(16px, 128px, 32px, 112px);
}
/* Ban button. */
#firefm-ban-button,
#firefm-status-ban-button {
-moz-image-region: rect(0px, 144px, 16px, 128px);
}
#firefm-ban-button[disabled="true"],
#firefm-status-ban-button[disabled="true"] {
-moz-image-region: rect(16px, 144px, 32px, 128px);
}
/* Tag button. */
#firefm-tag-button,
#firefm-status-tag-button {
-moz-image-region: rect(0px, 160px, 16px, 144px);
}
#firefm-tag-button[disabled="true"],
#firefm-status-tag-button[disabled="true"] {
-moz-image-region: rect(16px, 160px, 32px, 144px);
}
/* Share button. */
#firefm-share-button,
#firefm-status-share-button {
-moz-image-region: rect(0px, 176px, 16px, 160px);
}
#firefm-share-button[disabled="true"],
#firefm-status-share-button[disabled="true"] {
-moz-image-region: rect(16px, 176px, 32px, 160px);
}
/* Video button. */
#firefm-video-button,
#firefm-status-video-button {
-moz-image-region: rect(0px, 192px, 16px, 176px);
}
#firefm-video-button[disabled="true"],
#firefm-status-video-button[disabled="true"] {
-moz-image-region: rect(16px, 192px, 32px, 176px);
}